﻿using System;

namespace IoCTechDay.MAC
{
    public class robcthegeek
    {
        private readonly BagOfChocolatePeanuts _peanuts;
        private readonly CupOfCoffee _coffee;

        public robcthegeek(BagOfChocolatePeanuts peanuts, CupOfCoffee coffee)
        {
            _peanuts = peanuts;
            _coffee = coffee;
        }

        public void GeekOut()
        {
            Console.WriteLine("Typey, Typey!");
            _peanuts.Eat();
            Console.WriteLine("Tappity-Tap-Tap!");
            _coffee.Prepare();
            Console.WriteLine("Slurp!");
        }
    }
}
